wget http://download.redis.io/redis-stable.tar.gz
tar –zxvf redis-stable.tar.gz
mkdir /home/redis
make
make test
make PREFIX=/usr/local/redis install #安装到指定目录中 